package com.yaorange.jxc.goods.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * @description:
 * @company: yaorange
 * @author: wu YanZu
 * @version: 1.0
 * @create: 2022-04-27 13:57:42
 */
@Data
@TableName("tb_goods")
public class Goods {
    @TableId(type= IdType.AUTO)
    private Integer goodsId;

    private String goodsCode;

    private String goodsName;

    private Integer inventoryQuantity;

    private Integer minNum;

    private String goodsModel;

    private String goodsProducer;

    private float purchasingPrice;

    private float lastPurchasingPrice;

    private String remarks;

    private float sellingPrice;

    private Integer state;

    private String goodsUnit;

    private Integer goodsTypeId;
    @TableField(exist = false)
    private GoodsType goodsType;

    @TableField(exist = false)
    private Integer purchaseListId;

    @TableField(exist = false)
    private Integer goodsNum;
    @TableField(exist = false)
    private String purchaseNumber;
}
